package com.xx.sg.own.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xx.sg.own.entity.Duty;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DutyMapper extends BaseMapper<Duty> {

    List<Duty> getDutyList(Duty duty);

    Duty getDutyById(String id);
}
